/* 回到顶部模块 */

.goback span {
    display: block;
    width: 50px;
    height: 50px;
    background-color: rgba(0, 0, 0, .6);
    border-radius: 50%;
    text-align: center;
    line-height: 42px;
    color: greenyellow;
    cursor: pointer;
    font-size: 25px;
}

.goback span:hover {
    background-color: greenyellow;
    color: rgba(0, 0, 0, .6);
}

.goback {
    display: none;
    position: fixed;
    right: 30px;
    bottom: 100px;
}


/* 回到顶部模块 */


/* 电梯导航部分 */

.fixedtool {
    padding: 10px 0;
    position: fixed;
    left: 0;
    top: 200px;
}

.fixedtool ul li {
    cursor: pointer;
    /* border-radius: 15px; */
    width: 100px;
    height: 30px;
    /* background-color: rgba(0, 255, 0, .5); */
    text-align: center;
    color: #000;
    line-height: 30px;
    font-size: 17px;
    /* margin-top: 10px; */
    padding: 4px;
    border-bottom: 1px solid rgb(206, 206, 206);
}

.fixedtool ul li:nth-child(1) {
    margin-top: 0;
}

.fixedtool ul li.current {
    background-color: rgba(39, 187, 154, .5);
    color: #fff;
}


/* 电梯导航部分 */


/* --------------------入口模块--xtx-entry */

.xtx-entry .container .banner {
    position: relative;
    overflow: hidden;
    width: 1240px;
    height: 500px;
    background-color: #f5f5f5;
}

.xtx-entry .container .banner ul {
    position: absolute;
    width: 500%;
}

.xtx-entry .container .banner ul li {
    float: left;
    width: 20%;
    height: 500px;
}

.xtx-entry .container .banner ul li a {
    display: block;
    width: 100%;
    height: 100%;
}

.xtx-entry .container .banner ul li a img {
    width: 100%;
    height: 100%;
}

.xtx-entry .container {
    position: relative;
}

.xtx-entry .container .category {
    position: absolute;
    left: 0;
    top: 0;
    width: 252px;
    height: 500px;
    background-color: rgba(0, 0, 0, .8);
}

.xtx-entry .category a {
    color: #fff;
}

.xtx-entry .category span {
    font-size: 14px;
}

.xtx-entry .category li {
    position: relative;
    height: 50px;
    line-height: 50px;
    padding-left: 36px;
}

.xtx-entry .category span:first-child {
    margin-left: 15px;
}

.xtx-entry .category a::after {
    position: absolute;
    content: '';
    width: 6px;
    height: 11px;
    top: 19px;
    right: 19px;
    /* ps */
    /* background-color: blue; */
    background: url('../images/sprites.png') -80px -110px;
}

.xtx-entry .category li:hover {
    background-color: #27ba9b;
}


/* banner中的左右箭头 */

.xtx-entry .prev {
    position: absolute;
    top: 228px;
    left: 260px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: url("../images/sprites.png") 12px -59px;
    background-color: rgba(0, 0, 0, 0.2);
}

.xtx-entry .next {
    position: absolute;
    top: 228px;
    right: 10px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: url("../images/sprites.png") -22px -59px;
    background-color: rgba(0, 0, 0, 0.2);
}


/* 轮播指示器 */

.xtx-entry .indicator {
    position: absolute;
    left: 680px;
    bottom: 31px;
    width: 110px;
    height: 10px;
}

.xtx-entry .indicator li {
    cursor: pointer;
    float: left;
    width: 10px;
    height: 10px;
    margin-right: 15px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, .43);
}

.xtx-entry .indicator li:last-child {
    margin-right: 0;
}

.xtx-entry .indicator .active {
    background-color: #fff;
}


/* 新鲜好物模块 */

.xtx-brands .goods-hd,
.xtx-goods .goods-hd {
    height: 115px;
    background-color: #fff;
    line-height: 115px;
}

.xtx-brands .goods-hd h3,
.xtx-goods .goods-hd h3 {
    height: 115px;
    font-size: 29px;
    font-weight: 400;
    /* line-height: 115px; */
}

.xtx-brands .goods-hd h3 span,
.xtx-goods .goods-hd h3 span {
    font-size: 16px;
    color: #999;
}

.xtx-brands .goods-hd a,
.xtx-goods .goods-hd a {
    color: #999;
}

.xtx-goods .goods-hd a::after {
    display: inline-block;
    content: '';
    width: 7px;
    height: 13px;
    margin-left: 13px;
    background: url("../images/sprites.png") 0 -110px;
    vertical-align: middle;
}

.xtx-goods .goods-list {
    height: 405px;
}

.xtx-goods .goods-list li {
    float: left;
    width: 304px;
    height: 405px;
    margin-right: 8px;
    text-align: center;
    background-color: #f0f9f4;
    /* 去除默认行高 */
    line-height: 1;
    transition: all 0.6s;
}


/* 阴影效果 */

.xtx-brands .goods-list li:hover,
.xtx-goods .goods-list li:hover {
    position: relative;
    top: -1px;
    box-shadow: 0px 0px 9px 0px #666;
}

.xtx-goods .goods-list li:last-child {
    margin-right: 0;
}

.xtx-goods .goods-list li img {
    width: 100%;
    margin-bottom: 22px;
}

.xtx-goods .goods-list li h3 {
    height: 40px;
    font-size: 20px;
    font-weight: normal;
}

.xtx-goods .goods-list li p {
    font-size: 23px;
    color: #9a2e1f;
}

.xtx-goods .goods-list li p span {
    font-size: 17px;
}

.xtx-goods .goods-list .two-style {
    color: #999;
    font-size: 16px;
}

.xtx-goods .goods-list .white {
    background-color: #fff;
}

.xtx-brands .goods-hd {
    background-color: #f5f5f5;
}

.xtx-brands .goods-list {
    height: 305px;
    background-color: #f5f5f5;
}

.xtx-brands .goods-list img {
    width: 244px;
}

.xtx-brands .goods-list li {
    margin-right: 5px;
    transition: all 0.6s;
}

.xtx-brands .goods-list li:last-child {
    margin-right: 0;
}

.xtx-brands-all {
    background-color: #f5f5f5;
    height: 466px;
}

.xtx-brands {
    position: relative;
}

.xtx-brands .prew {
    position: absolute;
    right: 0;
    top: 79px;
    width: 20px;
    height: 20px;
    background: url("../images/sprites.png") -36px -72px;
    /* background-color: #27ba9b; */
    background-color: #e2e2e2;
}

.xtx-brands .next {
    position: absolute;
    right: 32px;
    top: 79px;
    width: 20px;
    height: 20px;
    background: url("../images/sprites.png") 3px -71px;
    /* background-color: #27ba9b; */
    background-color: #e2e2e2;
}

.xtx-brands .next:hover,
.xtx-brands .prew:hover {
    background-color: #27ba9b;
}


/* 生鲜部分 */

.xtx-fresh {
    height: 707px;
    /* background-color: pink; */
}

.xtx-fresh .hd {
    position: relative;
    /* width: 1240px; */
    height: 96px;
    /* ps */
    /* background-color: blue; */
    line-height: 96px;
    /* overflow: hidden; */
}

.xtx-fresh .hd h3 {
    float: left;
    height: 96px;
    font-size: 29px;
    font-weight: normal;
    margin-right: 660px;
}

.xtx-fresh .hd li {
    float: left;
    width: 48px;
    height: 20px;
    line-height: 20px;
    text-align: center;
    margin-top: 42px;
    margin-right: 13px;
    /* ps */
    /* background-color: pink; */
    /* color: #333; */
}

.xtx-fresh .hd li:last-child {
    margin-right: 33px;
}

.xtx-fresh .hd li:hover {
    background-color: #27ba9b;
}

.xtx-fresh .hd li:hover a {
    color: #fff;
}

.xtx-fresh .hd .after {
    color: #999;
    height: 16px;
    line-height: 16px;
    margin-top: 45px;
}

.xtx-fresh .hd .after::after {
    width: 7px;
    height: 13px;
    content: '';
    position: absolute;
    right: 0;
    top: 47px;
    vertical-align: middle;
    /* ps */
    /* background-color: blue; */
    background: url("../images/sprites.png") 0 -110px;
}

.xtx-fresh .left {
    float: left;
    width: 240px;
    height: 610px;
    margin-right: 8px;
    /* ps */
    /* background-color: pink; */
}

.xtx-fresh .left img {
    width: 240px;
}

.xtx-fresh .right li {
    width: 242px;
    height: 304px;
    /* ps */
    /* background-color: blue; */
    margin-right: 8px;
    text-align: left;
    padding-top: 19px;
    padding-left: 29px;
    padding-right: 32px;
    box-sizing: border-box;
    /* background-color: pink; */
    overflow: hidden;
    position: relative;
    transition: all 0.5s;
}

.xtx-fresh .right li:nth-child(4n) {
    margin-right: 0;
}

.xtx-fresh .right li:nth-child(n+5) {
    margin-top: 3px;
}

.xtx-fresh .right li img {
    height: 160px;
}

.xtx-fresh .right li p {
    /* 清除默认边距 */
    line-height: 19px;
    color: #333;
}

.xtx-fresh .right li p:nth-of-type(1) {
    margin-top: 23px;
}

.xtx-fresh .right li p:nth-of-type(3) {
    margin-top: 13px;
    color: #9a2e1f;
}

.xtx-fresh .right li p:nth-of-type(3) span {
    font-size: 22px;
}

.xtx-fresh .right li:hover {
    border: 1px solid #27ba9b;
}

.xtx-fresh .right li a.windows {
    position: absolute;
    left: 0;
    bottom: -84px;
    width: 242px;
    background-color: #27ba9b;
    height: 84px;
    transition: bottom 0.5s;
}

.xtx-fresh .right li:hover a.windows {
    bottom: 0px;
}

.xtx-fresh .right li:hover a.windows p:nth-child(1) {
    border-bottom: 1px solid #a9dbcc;
}

.xtx-fresh .right li a.windows p:nth-child(1) {
    margin-top: 19px;
    box-sizing: border-box;
    margin-left: 54px;
    padding-bottom: 7px;
    margin-bottom: 8px;
    text-align: center;
    width: 125px;
    font-size: 18px;
    color: #fff;
    transition: all 0.5s;
}

.xtx-fresh .right li a.windows p:nth-child(2) {
    text-align: center;
    font-size: 13px;
    color: #fff;
}


/* 最新专题部分 */

.xtx-theme-all {
    height: 512px;
    background-color: #f5f5f5;
}

.xtx-theme .hd {
    height: 115px;
    /* ps */
    /* background-color: pink; */
}

.xtx-theme .hd h3 {
    height: 115px;
    line-height: 115px;
    font-weight: normal;
}

.xtx-theme .hd a {
    line-height: 115px;
    color: #999;
}

.xtx-theme .hd a::after {
    color: blue;
    content: '';
    width: 7px;
    height: 13px;
    display: inline-block;
    vertical-align: middle;
    /* background: url("../images/sprites.png") 0px,-110px; */
    background: url("../images/sprites.png") 0 -110px;
    /* background-color: #999; */
    margin-left: 15px;
}

.xtx-theme li {
    float: left;
    width: 405px;
    height: 356px;
    background-color: #fff;
    margin-right: 12px;
    position: relative;
}

.xtx-theme li:nth-of-type(3) {
    margin-right: 0;
}

.xtx-theme li img {
    width: 405px;
}

.xtx-theme li span.outer {
    height: 67px;
    line-height: 67px;
}

.xtx-theme li span.outer::before {
    content: '';
    width: 15px;
    height: 13px;
    background: url("../images/sprites.png") -120px -110px;
    display: inline-block;
    vertical-align: middle;
}

.xtx-theme li span.outer:nth-of-type(1)::before {
    margin-left: 17px;
}

.xtx-theme li span.outer:nth-of-type(2)::before {
    background-position: -160px -110px;
    margin-left: 24px;
}

.xtx-theme li span.outer:nth-of-type(3)::before {
    height: 16px;
    background-position: -200px -110px;
    margin-right: 4px;
}

.xtx-theme li span.outer:nth-of-type(3) {
    margin-right: 18px;
}

.xtx-theme li p {
    line-height: 1;
    position: absolute;
    color: #fff;
}

.xtx-theme li p:nth-of-type(1) {
    font-size: 20px;
    bottom: 106px;
    left: 17px;
}

.xtx-theme li p:nth-of-type(2) {
    bottom: 81px;
    left: 17px;
    color: #999;
}

.xtx-theme li a.son {
    font-size: 17px;
    position: absolute;
    right: 15px;
    bottom: 96px;
    background-color: #fff;
    width: 81px;
    height: 27px;
    color: #9a2e1f;
    text-align: center;
    line-height: 27px;
}

.xtx-theme li a.son span {
    font-size: 14px;
}